@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <!-- <div class="ibox-title">
                <h5></h5>
            </div> -->
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3 hidden">
                                <#input id="ticketRemainderId"  name="余票详情id" value="${ticketRemainder.id}" />
                             </div>
                             <div class="col-sm-3">
                                <#input id="trainNo"  readonly="true" name="车次" value="${ticketRemainder.trainNo}" />
                                <#input id="startTime"  readonly="true" name="发车时间" value="${ticketRemainder.startTime}" />
                             </div>
                             <div class="col-sm-3">
                                <#input id="departure"  readonly="true" name="始发站" value="${ticketRemainder.departure}" />
                                <#input id="ticketCount"  readonly="true" name="余票总数" value="${ticketRemainder.ticketCount}" />
                             </div>
                             <div class="col-sm-3">
                                <#input id="arrive"  readonly="true" name="到达站" value="${ticketRemainder.arrive}" />
                             </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="carriageNo" name="车厢号" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="seatNo" name="座位号" />
                            </div>
                            <div class="col-sm-3">
                                <#SelectCon id="seatType" name="座位类型" lang="">
                                    <option value="">全部</option>
                                    <option value="1">硬上</option>
                                    <option value="2">硬中</option>
                                    <option value="3">硬下</option>
                                    <option value="4">软上</option>
                                    <option value="5">软下</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="TrainSeatSchedule.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="TrainSeatScheduleTableToolbar" role="group">
                            @if(shiro.hasPermission("/ticketRemainder/lock")){
                                <#button name="人工锁定" icon="fa-plus" clickFun="TrainSeatSchedule.lock()"/>
                            @}
                            @if(shiro.hasPermission("/ticketRemainder/canclelock")){
                                <#button name="取消锁定" icon="fa-plus" clickFun="TrainSeatSchedule.canclelock()" space="true"/>
                            @}
                        </div>
                        <#table id="TrainSeatScheduleTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/js/trainSeatSchedule/trainSeatSchedule.js"></script>
@}
